//package com.jc.admin.interception;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
//@Configuration
//public class PatientWebConfig implements WebMvcConfigurer {
//
//    @Autowired
//    private LoginInterception loginInterception;
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(loginInterception)
//                //.addPathPatterns("/**")
//        ;
//    }
//
//}
